package com.yet.kotlinapp.modules.login.inter

import android.content.Context
import com.yet.kotlinapp.entity.LoginResponseInfo

/**
 *
 * @ProjectName: Kotlin app
 * @Package: com.yet.kotlinapp.modules.login.inter
 * @ClassName: LoginPresenter
 * @Description: java类作用描述
 * @Author: liys
 * @CreateDate: 2021/8/27 11:29
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/8/27 11:29
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
interface LoginPresenter{

    interface  OnLoginActionListener {
    fun loginSuccess(logindata:LoginResponseInfo?)
    fun loginFail(msg:String?)
    }


   fun loginaction(context:Context,user:String,pw:String);
}